FROM  hub.bitautotech.com/yc-miniprogram/chihiro:v4
RUN mkdir /app
WORKDIR /app
RUN mkdir data
VOLUME ["app/data"]
COPY server/cmds/houndd/houndd /app
COPY server/config.json /app
RUN apk update \
    && apk add tini
EXPOSE 6080
ENTRYPOINT ["/sbin/tini","--","/app/houndd"]

#FROM  hub.bitautotech.com/yc-miniprogram/chihiro:v4
#RUN mkdir /app
#WORKDIR /app
#VOLUME ["/app/data"]
#COPY ./cmds/houndd/houndd /app
#COPY ./config.json /app
#EXPOSE 6080
#CMD ["/app/houndd"]
